import java.util.ArrayList;

public class BlockType
{
	public class EmptyBlock{}
	public class SpawnBlock{}
	public class StandardBlock
	{
		public String texture = "default";
		public boolean collision = true;
		public double opacity = 1.0;
		public int shader = 0;
	}
	public class HalfBlock
	{
		public String texture = "default";
		public boolean collision = true;
		public double opacity = 1.0;
		public int shader = 0;
		public boolean bottom = true;
	}
	public class BallFlag
	{
		public Vector position = new Vector(0, 0, 0);
		public void setPosition(double x, double y, double z)
		{
			position.setX(x);
			position.setY(y);
			position.setZ(z);
		}
	}
	public class MovingEnemy
	{
		private ArrayList<Vector> positionList = new ArrayList<Vector>();
		
		public MovingEnemy(Vector startingPosition)
		{
			positionList.add(startingPosition);
		}
		
		public void addPosition(Vector position, int positionIndex)
		{
			if(positionIndex > positionList.size())
			{
				for(int i = positionList.size(); i < positionIndex; i++) positionList.add(new Vector(0, 0, 0));
			}
			positionList.set(positionIndex, position);
		}
		
		public Vector getPosition(int index)
		{
			return positionList.get(index);
		}
	}
}